const { createProxyMiddleware } = require('http-proxy-middleware')

module.exports = function(app) {
    app.use('/api', createProxyMiddleware({ target: 'http://127.0.0.1:5000' }))
    app.use('/overall', createProxyMiddleware({ target: 'http://3a4a813202.wicp.vip:23774' }))
    // app.use('/text', createProxyMiddleware({ target: 'http://127.0.0.1:5000' }))
}
